Platform Explorer / Nuxeo Platform LTS 2016 8.10

Contribution org.nuxeo.ecm.collections.actions--actions

This contribution is part of XML component org.nuxeo.ecm.collections.actions inside nuxeo-platform-collections-jsf-8.10.jar /OSGI-INF/collection-actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action icon="/icons/collection_tab.png" id="Collections" label="user.center.collections" link="/user_center_fragment.xhtml" order="80">
          <category>USER_CENTER</category>
          <properties>
            <property name="alwaysDisplaySubTabs">true</property>
          </properties>
          <filter-id>not_anonymous</filter-id>
          <filter-id>not_transient_user</filter-id>
        </action>
  • <action id="CollectionList" label="user.center.collections" link="/incl/collection_listing.xhtml" order="0">
          <category>Collections_sub_tab</category>
          <filter-id>not_readonly</filter-id>
        </action>
  • <action accessKey="u" icon="/icons/add_to_collection.png" id="addToCollectionAction" label="label.addToCollection" order="0" type="fancybox">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>canAddToCollection</filter-id>
          <properties>
            <property name="include">/incl/add_to_collection.xhtml</property>
          </properties>
          <filter-id>not_transient_user</filter-id>
        </action>
  • <action accessKey="u" icon="/icons/add_to_collection.png" id="selectDocumentToBeAddedToCollection" label="label.addToCollection.selectDocToBeAddedToCollection" order="0" type="fancybox">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>canSelectedToBeAddedToCollection</filter-id>
          <properties>
            <property name="include">/incl/select_doc_to_be_added_to_collection.xhtml</property>
          </properties>
          <filter-id>not_transient_user</filter-id>
        </action>
  • <action id="collectionContent" label="action.view.content" link="/incl/collection_content_listing.xhtml" order="-1">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>collectionContentFilter</filter-id>
        </action>
  • <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="collectionsCurrentSelectionDelete" label="command.trashDocs" link="#{deleteActions.purgeSelection('COLLECTIONS_CURRENT_SELECTION')}">
          <category>COLLECTIONS_CURRENT_SELECTION_LIST</category>
          <filter id="canDeleteCollections">
            <rule grant="true">
              <condition>#{deleteActions.getCanDelete('COLLECTIONS_CURRENT_SELECTION')}</condition>
            </rule>
          </filter>
        </action>
  • <action icon="" id="collectionCurrentSelectionDelete" label="label.removeCurrentSelectionFromCollection" link="#{collectionActions.removeCurrentSelectionFromCollection()}">
          <category>COLLECTION_ACTION</category>
          <filter id="canRemoveFromCollection"/>
        </action>
  • <action accessKey="j" icon="/icons/add_to_collection.png" id="addSelectedToCollectionAction" label="label.addToCollection" order="40" type="fancybox">
          <category>CURRENT_SELECTION_LIST</category>
          <filter-id>canAddSelectedToCollection</filter-id>
          <properties>
            <property name="include">/incl/add_selection_to_collection.xhtml</property>
            <property name="autoDimensions">false</property>
            <property name="height">400</property>
            <property name="width">600</property>
          </properties>
          <filter-id>not_transient_user</filter-id>
        </action>
  • <action id="exportViewZipBlobExport">
          <filter-id>can_zip_export</filter-id>
        </action>
  • <action id="TAB_VIEW">
          <filter-id>denyForCollection</filter-id>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action icon="/icons/collection_tab.png" id="Collections" label="user.center.collections" link="/user_center_fragment.xhtml" order="80">
      <category>USER_CENTER</category>
      <properties>
        <property name="alwaysDisplaySubTabs">true</property>
      </properties>
      <filter-id>not_anonymous</filter-id>
      <filter-id>not_transient_user</filter-id>
    </action>

    <action id="CollectionList" label="user.center.collections" link="/incl/collection_listing.xhtml" order="0">
      <category>Collections_sub_tab</category>
      <filter-id>not_readonly</filter-id>
    </action>

    <action accessKey="u" icon="/icons/add_to_collection.png" id="addToCollectionAction" label="label.addToCollection" order="0" type="fancybox">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>canAddToCollection</filter-id>
      <properties>
        <property name="include">/incl/add_to_collection.xhtml</property>
      </properties>
      <filter-id>not_transient_user</filter-id>
    </action>

    <action accessKey="u" icon="/icons/add_to_collection.png" id="selectDocumentToBeAddedToCollection" label="label.addToCollection.selectDocToBeAddedToCollection" order="0" type="fancybox">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>canSelectedToBeAddedToCollection</filter-id>
      <properties>
        <property name="include">/incl/select_doc_to_be_added_to_collection.xhtml</property>
      </properties>
      <filter-id>not_transient_user</filter-id>
    </action>


    <action id="collectionContent" label="action.view.content" link="/incl/collection_content_listing.xhtml" order="-1">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>collectionContentFilter</filter-id>
    </action>

    <action confirm="if( !confirmDeleteDocumentsForever() ) return false;" help="comand.deleteDocs.help" icon="" id="collectionsCurrentSelectionDelete" label="command.trashDocs" link="#{deleteActions.purgeSelection('COLLECTIONS_CURRENT_SELECTION')}">
      <category>COLLECTIONS_CURRENT_SELECTION_LIST</category>
      <filter id="canDeleteCollections">
        <rule grant="true">
          <condition>#{deleteActions.getCanDelete('COLLECTIONS_CURRENT_SELECTION')}</condition>
        </rule>
      </filter>
    </action>

    <action icon="" id="collectionCurrentSelectionDelete" label="label.removeCurrentSelectionFromCollection" link="#{collectionActions.removeCurrentSelectionFromCollection()}">
      <category>COLLECTION_ACTION</category>
      <filter id="canRemoveFromCollection"/>
    </action>

    <action accessKey="j" icon="/icons/add_to_collection.png" id="addSelectedToCollectionAction" label="label.addToCollection" order="40" type="fancybox">
      <category>CURRENT_SELECTION_LIST</category>
      <filter-id>canAddSelectedToCollection</filter-id>
      <properties>
        <property name="include">/incl/add_selection_to_collection.xhtml</property>
        <property name="autoDimensions">false</property>
        <property name="height">400</property>
        <property name="width">600</property>
      </properties>
      <filter-id>not_transient_user</filter-id>
    </action>

    <action id="exportViewZipBlobExport">
      <filter-id>can_zip_export</filter-id>
    </action>

    <action id="TAB_VIEW">
      <filter-id>denyForCollection</filter-id>
    </action>

  </extension>